Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuiteDiscussions Q&R
In the continue Loop -
i = 0
while True:
i = i +1
if i == 2:
print("Skipping 2")
continue
if i == 5:
print("Breaking")
break
print(i)
print("Finished")
It shows the output being
"1
Skipping 2
3
4
Breaking
Finished"
Why are the last three lines not
"Breaking
5
Finished"
Where it shows print(i) after break?
1 Vote
3 RéponsesAujourd'hui en vedette
Notifications
5 Votes
Is the AI course worth the $49?
0 Votes
I want to make it how can i
0 Votes
Armstrong number
0 Votes
Flexbox Layout question
2 Votes